import request from '@/utils/request'

// 提现_账户列表
export function getAccountLists(query) {
    return request({
        url: '/joining/busin.Withdrawal/getAccountLists',
        method: 'post',
        params: query
    })
}
// 提现_绑定/修改账户
export function setAccountInfo(query) {
    return request({
        url: '/joining/busin.Withdrawal/bindAccount',
        method: 'post',
        params: query
    })
}
// 提现_银行列表
export function getBanksLists(query) {
    return request({
        url: '/api/Common/getBanksLists',
        method: 'post',
        params: query
    })
}
// 提现_账户列表(全部,不分页)
export function getAccountListsAll(query) {
    return request({
        url: '/joining/busin.Withdrawal/getAccountListsAll',
        method: 'post',
        params: query
    })
}

// 提现_账户信息
export function getWithInfo(query) {
    return request({
        url: '/joining/busin.Withdrawal/getWith',
        method: 'post',
        params: query
    })
}
// 提现_提交提现申请
export function setWithInfo(query) {
    return request({
        url: '/joining/busin.Withdrawal/setWith',
        method: 'post',
        params: query
    })
}
// 部门状态 启用/禁用
export function setSectorStatus(query) {
    return request({
        url: '/joining/busin.Position/setSectorStatus',
        method: 'post',
        params: query
    })
}
// 删除部门
export function delAccount(query) {
    return request({
        url: '/joining/busin.Withdrawal/delAccount',
        method: 'post',
        params: query
    })
}

// 提现_银行列表
export function getWithLists(query) {
    return request({
        url: '/joining/busin.Withdrawal/getWithLists',
        method: 'post',
        params: query
    })
}

// 财务管理_综合统计
export function getStaticInfo(query) {
    return request({
        url: '/joining/busin.Financial/statistics',
        method: 'post',
        params: query
    })
}